package com.nsgf.library.data.bean;

import com.nsgf.skjz.utils.StringUtil;

import java.util.ArrayList;
import java.util.List;

public class WaterRecordsBean {


    private List<WaterRecordsListBean> waterRecordsList;
    private List<WaterRecordsListBean> rainRecordsList;
    private MaxHisWaterLevelBean maxHisWaterLevel;
    private MaxHisWaterLevelBean minHisWaterLevel;
    private MaxHisWaterLevelBean maxHisWaterLevelYear;
    private MaxHisWaterLevelBean minHisWaterLevelYear;
    private MaxHisWaterLevelBean maxHisWaterLevelDay;
    private MaxHisWaterLevelBean minHisWaterLevelDay;

    public MaxHisWaterLevelBean getMaxHisWaterLevel() {
        return maxHisWaterLevel;
    }

    public void setMaxHisWaterLevel(MaxHisWaterLevelBean maxHisWaterLevel) {
        this.maxHisWaterLevel = maxHisWaterLevel;
    }

    public MaxHisWaterLevelBean getMinHisWaterLevel() {
        return minHisWaterLevel;
    }

    public void setMinHisWaterLevel(MaxHisWaterLevelBean minHisWaterLevel) {
        this.minHisWaterLevel = minHisWaterLevel;
    }

    public MaxHisWaterLevelBean getMaxHisWaterLevelYear() {
        return maxHisWaterLevelYear;
    }

    public void setMaxHisWaterLevelYear(MaxHisWaterLevelBean maxHisWaterLevelYear) {
        this.maxHisWaterLevelYear = maxHisWaterLevelYear;
    }

    public MaxHisWaterLevelBean getMinHisWaterLevelYear() {
        return minHisWaterLevelYear;
    }

    public void setMinHisWaterLevelYear(MaxHisWaterLevelBean minHisWaterLevelYear) {
        this.minHisWaterLevelYear = minHisWaterLevelYear;
    }

    public MaxHisWaterLevelBean getMaxHisWaterLevelDay() {
        return maxHisWaterLevelDay;
    }

    public void setMaxHisWaterLevelDay(MaxHisWaterLevelBean maxHisWaterLevelDay) {
        this.maxHisWaterLevelDay = maxHisWaterLevelDay;
    }

    public MaxHisWaterLevelBean getMinHisWaterLevelDay() {
        return minHisWaterLevelDay;
    }

    public void setMinHisWaterLevelDay(MaxHisWaterLevelBean minHisWaterLevelDay) {
        this.minHisWaterLevelDay = minHisWaterLevelDay;
    }


    public static class MaxHisWaterLevelBean {

        private String facilityCode;
        private Object projectId;
        private String tm;
        private String rz;
        private Object inq;
        private Object w;
        private Object blrz;
        private Object otq;
        private Object rwchrcd;
        private Object rwptn;
        private Object inqdr;
        private Object msqmt;
        private Object name;
        private Object projectName;

        public String getFacilityCode() {
            return facilityCode;
        }

        public void setFacilityCode(String facilityCode) {
            this.facilityCode = facilityCode;
        }

        public Object getProjectId() {
            return projectId;
        }

        public void setProjectId(Object projectId) {
            this.projectId = projectId;
        }

        public String getTm() {
            return StringUtil.isEmpty(tm) ? "--" : tm;
        }

        public void setTm(String tm) {
            this.tm = tm;
        }

        public String getRz() {
            return StringUtil.isEmpty(rz) ? "--" : rz;
        }

        public void setRz(String rz) {
            this.rz = rz;
        }

        public Object getInq() {
            return inq;
        }

        public void setInq(Object inq) {
            this.inq = inq;
        }

        public Object getW() {
            return w;
        }

        public void setW(Object w) {
            this.w = w;
        }

        public Object getBlrz() {
            return blrz;
        }
        public void setBlrz(Object blrz) {
            this.blrz = blrz;
        }

        public Object getOtq() {
            return otq;
        }

        public void setOtq(Object otq) {
            this.otq = otq;
        }
        public Object getRwchrcd() {
            return rwchrcd;
        }

        public void setRwchrcd(Object rwchrcd) {
            this.rwchrcd = rwchrcd;
        }

        public Object getRwptn() {
            return rwptn;
        }

        public void setRwptn(Object rwptn) {
            this.rwptn = rwptn;
        }
        public Object getInqdr() {
            return inqdr;
        }
        public void setInqdr(Object inqdr) {
            this.inqdr = inqdr;
        }
        public Object getMsqmt() {
            return msqmt;
        }

        public void setMsqmt(Object msqmt) {
            this.msqmt = msqmt;
        }
        public Object getName() {
            return name;
        }

        public void setName(Object name) {
            this.name = name;
        }

        public Object getProjectName() {
            return projectName;
        }
    }
    public List<WaterRecordsListBean> getWaterRecordsList() {
        if (null == waterRecordsList)
            waterRecordsList = new ArrayList<>();
        return waterRecordsList;
    }

    public void setWaterRecordsList(List<WaterRecordsListBean> waterRecordsList) {
        this.waterRecordsList = waterRecordsList;
    }

    public List<WaterRecordsListBean> getRainRecordsList() {
        return rainRecordsList;
    }

    public void setRainRecordsList(List<WaterRecordsListBean> rainRecordsList) {
        this.rainRecordsList = rainRecordsList;
    }

    public static class RealTimeWaterLevelBean {
        private long id;
        private String facilityCode;
        private String projectId;
        private String tm;
        private double rz;
        private String inq;
        private String w;
        private String blrz;
        private String otq;
        private String rwchrcd;
        private String rwptn;
        private String inqdr;
        private String msqmt;
        private String name;
        private String projectName;
        private String waterLevel;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getFacilityCode() {
            return facilityCode;
        }

        public void setFacilityCode(String facilityCode) {
            this.facilityCode = facilityCode;
        }

        public String getProjectId() {
            return projectId;
        }

        public void setProjectId(String projectId) {
            this.projectId = projectId;
        }

        public String getTm() {
            return "数据更新时间：" + tm;
        }

        public void setTm(String tm) {
            this.tm = tm;
        }

        public double getRz() {
            return rz;
        }

        public void setRz(double rz) {
            this.rz = rz;
        }

        public String getInq() {
            return inq;
        }

        public void setInq(String inq) {
            this.inq = inq;
        }

        public String getW() {
            return w;
        }

        public void setW(String w) {
            this.w = w;
        }

        public String getBlrz() {
            return blrz;
        }

        public void setBlrz(String blrz) {
            this.blrz = blrz;
        }

        public String getOtq() {
            return otq;
        }

        public void setOtq(String otq) {
            this.otq = otq;
        }

        public String getRwchrcd() {
            return rwchrcd;
        }

        public void setRwchrcd(String rwchrcd) {
            this.rwchrcd = rwchrcd;
        }

        public String getRwptn() {
            return rwptn;
        }

        public void setRwptn(String rwptn) {
            this.rwptn = rwptn;
        }

        public String getInqdr() {
            return inqdr;
        }

        public void setInqdr(String inqdr) {
            this.inqdr = inqdr;
        }

        public String getMsqmt() {
            return msqmt;
        }

        public void setMsqmt(String msqmt) {
            this.msqmt = msqmt;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        public String getWaterLevel() {
            return StringUtil.isEmpty(waterLevel) ? "--" : waterLevel;
        }

        public void setWaterLevel(String waterLevel) {
            this.waterLevel = waterLevel;
        }
    }

    public static class WaterRecordsListBean {

        private String facilityCode;
        private String projectId;
        private String tm;
        private double rz;
        private double drp;
        private String inq;
        private String w;
        private String blrz;
        private String otq;
        private String rwchrcd;
        private String rwptn;
        private String inqdr;
        private String msqmt;
        private String name;
        private String projectName;

        public String getFacilityCode() {
            return facilityCode;
        }

        public void setFacilityCode(String facilityCode) {
            this.facilityCode = facilityCode;
        }

        public String getProjectId() {
            return projectId;
        }

        public void setProjectId(String projectId) {
            this.projectId = projectId;
        }

        public String getTm() {
            return tm;
        }

        public void setTm(String tm) {
            this.tm = tm;
        }

        public double getRz() {
            return rz;
        }

        public void setRz(double rz) {
            this.rz = rz;
        }

        public String getInq() {
            return inq;
        }

        public void setInq(String inq) {
            this.inq = inq;
        }

        public String getW() {
            return w;
        }

        public void setW(String w) {
            this.w = w;
        }

        public String getBlrz() {
            return blrz;
        }

        public void setBlrz(String blrz) {
            this.blrz = blrz;
        }

        public String getOtq() {
            return otq;
        }

        public void setOtq(String otq) {
            this.otq = otq;
        }

        public String getRwchrcd() {
            return rwchrcd;
        }

        public void setRwchrcd(String rwchrcd) {
            this.rwchrcd = rwchrcd;
        }

        public String getRwptn() {
            return rwptn;
        }

        public void setRwptn(String rwptn) {
            this.rwptn = rwptn;
        }

        public String getInqdr() {
            return inqdr;
        }

        public void setInqdr(String inqdr) {
            this.inqdr = inqdr;
        }

        public String getMsqmt() {
            return msqmt;
        }

        public void setMsqmt(String msqmt) {
            this.msqmt = msqmt;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        public double getDrp() {
            return drp;
        }

        public void setDrp(double drp) {
            this.drp = drp;
        }
    }
}
